package com.wzh.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wzh.store.entity.User;
import com.wzh.store.mapper.UserMapper;

import java.util.Date;

/**
 * @Author wzh
 * @create 2022/4/7 19:23
 * 用户模块业务层接口
 */
public interface IUserService extends IService<User> {
 void reg(User user);

 User login(String username,String password);

 void changePassword(Integer uid,String username, String oldPassword, String newPassword);

 User getUserByUid(Integer uid);

 void chabgeInfo(Integer uid,String username,User user);

 void changeAvatar(Integer uid,String avatar,String modifiedUser);

}
